package com.easy.service;

import com.easy.bean.PetBean;
import com.easy.util.Page;

import java.util.List;
import java.util.Map;

public interface PetBeanService {

    PetBean add(PetBean petBean);

    int del(Integer id);

    PetBean edit(PetBean petBean);

    PetBean one(Integer id);

    List<PetBean> all(PetBean petBean);

    void page(Page page, PetBean petBean);

        // 统计宠物类型数量
    Map<String, Integer> countPetKind();


}
